<include file="Public:header"/>
    <div id="body" class="fix-float">
    	<div class="ie6hack">
   				<table class="hack-ie">
		    		<tbody>
		    			<!-- 左侧树开始 -->
		    			<tr valign="top">
							<td class="content-L hack-ie">
								<php>if(Cookie::get('username')=='admin'){</php> <include file="public:admin"/> <php>}</php>
								<div class="controls">
									<ul>
										<li class="first">&nbsp;</li>
										<li>
											<a href="#">
												<span class="inner">
													<img src="../Public/imgcache/imgs/none.gif" class="small_logo absbottom KoolPHPSuite" alt="KoolPHPSuite"> 
													<span> CGI 列表</span>
												</span>
											</a>
										</li>
									</ul>
								</div>
								<div id="cgitree" class="ksmenuKSM" style="width: auto;">
								</div>
								<div class="controls">
									<ul>
										<li class="first">&nbsp;</li>
										<li>
											<a href="#">
												<span class="inner">
													<img src="../Public/imgcache/imgs/none.gif" class="small_logo absbottom KoolPHPSuite" alt="KoolPHPSuite"> 
													<span>CGI 自动化用例</span>
												</span>
											</a>
										</li>
									</ul>
									<div style="height: 70px;"></div>
								</div>
							</td>
							<!-- 右侧工作区用户编辑模版开始 -->
				        	<td class="content-R" id="workspace">
				        		<div id="main-content">
							    	<!-- 顶部红色上边框开始 -->
							   		<table class="maintop">
							   			<tbody>
							   				<tr>
							   					<td class="tl"><img src="../Public/imgcache/imgs/none.gif" alt=""></td>
							   					<td class="tc"><div>&nbsp;</div></td>
							   					<td class="tr"><img src="../Public/imgcache/imgs/none.gif" alt=""></td>
							 				</tr>
										</tbody>
									</table>
									<!-- 顶部红色上边框结束 -->
							       	<div id="middle">
							       		<div id="main">
							           		<div class="component-title fix-float">
							           			<h1>
							           				<span class="left">
							           					<img src="../Public/imgcache/imgs/icon.png" class="absbottom" alt=""> 用户编辑
							          				</span>
							       				</h1>
							 				</div>
							 				<hr></hr>
							 				<!-- 分割线结束 -->
							 				<!-- 用户编辑开始 -->
							 				<form action="__APP__/User/update?username={$userdata.username}" method="post">
								                <div class="detail">
							                     	<div class="TabView" id="TabView" style="float:left;width:88%;">
								                         <div class="Pages" style="width: 99%;padding:4px;overflow:auto;">
								                         	<table style="border:1px solid #E0E0E0;font-family: Tahoma;font-size: 12px;color:#5E5E5E"">
								                         		<tbody>
								                         			<tr>
								                         				<td class="usereditform">用&nbsp户&nbsp名&nbsp：
								                         				</td>
								                         				<td class="userinf">
								                         					<div style="float:left;width:30%;padding:4px;">{$userdata.username}</div>
								                         					<div class="userediterrmsg">用户名不支持修改！！</div>
							                         					</td>
								                         			</tr>
								                         			
								                         			<tr>
								                         				<td class="usereditform">邮&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp箱：<span style="color:red;float: right">※</span>
								                         				</td>
								                         				<td class="userinf">
								                         					<input type="text" name="email" size="40" value="{$userdata.email}" />
							                         					</td>
								                         			</tr>
								                         			<tr>
								                         				<td class="usereditform">手&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp机：<span style="color:red;float: right">※</span>
								                         				</td>
								                         				<td class="userinf">
								                         					<input type="text" name="phone" size="40" value="{$userdata.phone}" />
							                         					</td>
								                         			</tr>
								                         			<tr>
								                         				<td class="usereditform">是否激活：
								                         				</td>
								                         				<td class="userinf">
								                         					是：<input type="radio" name="active" value="1" checked="checked"/>
								                         					否：<input type="radio" name="active" value="0" />
								                         					<div class="userediterrmsg">功能暂未开发！！</div>
							                         					</td>
								                         			</tr>
								                         			<tr>
								                         				<td class="usereditform">创建时间：
								                         				</td>
								                         				<td class="userinf">
								                         					<div style="width:65%;padding:4px;">{$userdata.reg_time}</div>
							                         					</td>
							                         					
								                         			</tr>
								                         			<tr>
								                         				<td class="usereditform">最后修改：
								                         				</td>
								                         				<td class="userinf">
								                         					<div style="width:65%;padding:4px;">{$userdata.lastmodifytime}</div>
							                         					</td>
								                         			</tr>	
								                         			<tr>
								                         				<td style="width:10%;height:24px;padding:4px 4px 4px 15px;border:1px solid #E0E0E0;">
								                         				</td>
								                         				<td style="padding:4px;width:30%;border:1px solid #E0E0E0;">
								                         					<div style="float:left;width:65%;padding:4px;color:red;">{$error}</div>
							                         					</td>
								                         			</tr>							                         			
								                         		</tbody>
								                         	</table>
								                     	 </div>
													</div>
													<div style="width:10%;text-align:left;float:right">
								                		<input type="submit" value="保存用户">
							                		</div>
								                    <div class="clear-this"></div>
								            	</div>
							 				</form>
							              	<!-- 用户编辑结束 -->
							           	</div>
							       	</div>
							       	<!-- 底部红色下边框开始 -->
							       	<table class="mainbottom">
							   			<tbody>
							   				<tr>
							   					<td class="bl"><img src="../Public/imgcache/imgs/none.gif" alt=""></td>
							   					<td class="tc"><div>&nbsp;</div></td>
							   					<td class="br"><img src="../Public/imgcache/imgs/none.gif" alt=""></td>
											</tr>
										</tbody>
									</table>
									<!-- 底部红色上边框开始 -->       	
								</div>
				        	</td>
		        			<!-- 右侧工作区用户编辑模版结束 -->
						</tr>
		    		</tbody>
				</table>
		</div>
    </div>
<include file="Public:end"/>

